﻿
Imports System.Web.Ria
Imports System.Web.Ria.ApplicationServices

'  We're using the ASP.NET providers as the foundation of the AuthenticationService on the client.
'  We enabled the providers in the Web.config file. In this domain service, we want to:
'   1) Define our user type. This should be an extension of UserBase with the same
'      properties that appear in our profile.
'   2) Enable client access to our concrete service extending AuthenticationBase.
'  The default implementation of AuthenticationBase(Of T) leverages the underlying
'  providers to create a single view of the user.
<EnableClientAccess()> _
Public Class AuthenticationService
    Inherits AuthenticationBase(Of User)

 


End Class


Public Class User
    Inherits UserBase

    Dim _fullName As String


    Public Property FullName() As String
        Get
            Return Me._fullName
        End Get
        Set(ByVal value As String)
            Me._fullName = value
        End Set
    End Property
End Class